<script setup lang="ts">

import CommentBox from "@/components/Comment/CommentBox.vue";

defineComponent({
  // 评论版
  name: 'Comment'
})

// 提交评论
const submitComment = (text: string) => {


}

</script>

<template>
  <div>
    <div style="margin-bottom: 40px">
      <div class="comment-head">
        <span style="font-weight: bold;font-size: 20px;">留言</span>
      </div>
      <div>
        <CommentBox @submitComment="submitComment"></CommentBox>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.comment-head {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  margin: 40px 0 20px 0;
  user-select: none;
  color: var(--themeBackground);
}

</style>
